using System;
using System.Collections.Generic;
using Ease.EaseNode.Runtime;
using Ease.TestEaseNode.Runtime.Param;
using Sirenix.OdinInspector;
using UnityEditor.Experimental.GraphView;
using UnityEngine;

namespace Ease.TestEaseNode.Runtime
{
    [Serializable]
    public partial class TestData : BaseTestData
    {
        [OnValueChanged(nameof(OnChange))] [Multiline]
        [HideLabel]
        [SuffixLabel("content",overlay:true)]
        public string content;

        protected override IEaseNodeAgent OnCreateAgent()
        {
            return null;
        }

        protected virtual void OnChange()
        {
#if UNITY_EDITOR
            OnValueChange(new StringChangeParam() {valueKey = "content", value = content});
#endif
        }
    }
}